package com.qiaofang.applet.service.other.service.dto;

import com.qiaofang.applet.service.other.domain.EmpShowRules;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * Created by IDEA.
 *
 * @auther Zym.
 * @company qiaofang
 * @date 2020/12/1 18:12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("公司经纪人规则dto")
public class CompanyEmpRulesDto {

    @ApiModelProperty("公司uuid")
    @NotNull
    private String companyUuid;

    @ApiModelProperty("二手房、租房经纪人展示规则")
    @NotNull
    private EmpShowRules propertyShowRules;

    @ApiModelProperty("新房经纪人展示规则")
    @NotNull
    private EmpShowRules firsthandShowRules;
}
